﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ShivamEMR.Model.Domain.CRMDomain;
using System.ComponentModel.DataAnnotations;

namespace ShivamEMR.Model.Domain.CompanyDomain
{
   public class EmployeeSchedule
    {
        #region Properties
        public Guid ID { get; set; }
        public DateTime ScheduleDate { get; set; }
        public DateTime StartTime { get; set; }
        public DateTime EndTime { get; set; }
        public string Notes { get; set; } 
        #endregion

        #region ForeignKeyProperties
        public Guid EmployeID { get; set; }
        public Guid VenueID { get; set; }
        public Guid ScheduleID { get; set; } 
        #endregion
        

        #region NavigationalProperties
       [ForeignKey("EmployeID")]
        public virtual Employee Employee { get; set; }
       [ForeignKey("VenueID")]
        public virtual Venue Venue { get; set; }
       [ForeignKey("ScheduleID")]
        public virtual Schedule Schedule { get; set; }       
        #endregion
    }
}
